Multispectral pattern recognition